﻿package model.exitGame;

import model.db.vo.TableNameVo;
import model.memCached.MemCachedManage;
import model.poker.PokerServer;
import queue.KSocketQueueCenter;

public class ExitHandle {
	static private ExitHandle exitHandle = new ExitHandle();

	static public ExitHandle getInstance() {
		return exitHandle;
	}

	public void ExitGame(int id) {
		// 队列清除
		KSocketQueueCenter.GetInstance().removeSocketQueue(id);
		// /删除内存数据库里的东西
		MemCachedManage.getInstance().delete(TableNameVo.T_user + id);
		//
//		PokerServer.getInstance().SomeOneExit(id);
		
	}
}
